package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 car_rescue
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class CarRescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer uid;

    /** 救援类型id */
    @Excel(name = "救援类型id")
    private Integer typeId;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 终点位置 */
    @Excel(name = "终点位置")
    private String endPosition;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private Integer carNum;

    /** 求助信息描述 */
    @Excel(name = "求助信息描述")
    private String description;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer deleted;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceContent;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateTime;

    /** 评价星级(1-5) */
    @Excel(name = "评价星级(1-5)")
    private Integer evaluateLevel;

    private Integer mid;

    private Integer carid;

    private Integer status;

    private Date oktime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }

    public void setTypeId(Integer typeId) 
    {
        this.typeId = typeId;
    }

    public Integer getTypeId() 
    {
        return typeId;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setEndPosition(String endPosition) 
    {
        this.endPosition = endPosition;
    }

    public String getEndPosition() 
    {
        return endPosition;
    }

    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setCarNum(Integer carNum) 
    {
        this.carNum = carNum;
    }

    public Integer getCarNum() 
    {
        return carNum;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }

    public void setServiceContent(String serviceContent) 
    {
        this.serviceContent = serviceContent;
    }

    public String getServiceContent() 
    {
        return serviceContent;
    }

    public void setEvaluateTime(Date evaluateTime) 
    {
        this.evaluateTime = evaluateTime;
    }

    public Date getEvaluateTime() 
    {
        return evaluateTime;
    }

    public void setEvaluateLevel(Integer evaluateLevel) 
    {
        this.evaluateLevel = evaluateLevel;
    }

    public Integer getEvaluateLevel() 
    {
        return evaluateLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("typeId", getTypeId())
            .append("position", getPosition())
            .append("endPosition", getEndPosition())
            .append("applyTime", getApplyTime())
            .append("name", getName())
            .append("phone", getPhone())
            .append("carNum", getCarNum())
            .append("description", getDescription())
            .append("deleted", getDeleted())
            .append("orderNo", getOrderNo())
            .append("serviceContent", getServiceContent())
            .append("evaluateTime", getEvaluateTime())
            .append("evaluateLevel", getEvaluateLevel())
            .append("mid", getMid())
            .append("carid", getCarid())
            .append("status", getStatus())
            .append("oktime", getOktime())
            .toString();
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOktime() {
        return oktime;
    }

    public void setOktime(Date oktime) {
        this.oktime = oktime;
    }
}
